package com.gwcm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gwcm.exception.BusinessException;
import com.gwcm.model.dto.orderInfo.OrderInfoQueryRequest;
import com.gwcm.model.dto.orderInfo.PosSaleOrderQueryRequest;
import com.gwcm.model.entity.OrderInfo;
import com.gwcm.model.vo.OrderInfoVo;
import com.gwcm.model.vo.PosSaleOrderVo;
import com.gwcm.model.vo.SaleItemVo;

import java.util.List;

/**
* @author 15375
* @description 针对表【order_info】的数据库操作Service
* @createDate 2023-03-11 15:41:21
*/
public interface OrderInfoService extends IService<OrderInfo> {

//    IPage<OrderInfoVo> pageList(OrderInfoQueryRequest orderInfoQueryRequest) throws BusinessException;
//    List<List<SaleItemVo>> selectSaleItemBySaleId(Long saleId);
    List<SaleItemVo> selectSaleItemBySaleId(Long saleId);
    IPage<PosSaleOrderVo> pageList(PosSaleOrderQueryRequest posSaleOrderQueryRequest) throws BusinessException;
}
